package com.gl.saasservice.adspace.entity;

import com.gl.saasservice.entity.IdEntity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 广告位管理
 */
@Entity
@Table(name = "saas_ad_space")
public class SaasAdSpace extends IdEntity {
	/**
	 * 广告位编号
	 */
	@Column(name = "code", nullable = true)
	private String code;
	/**
	 * 广告位名称
	 */
	@Column(name = "name", nullable = true)
	private String name;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "SaasAdSpace{" +
				"code='" + code + '\'' +
				", name='" + name + '\'' +
				", id=" + id +
				'}';
	}
}
